package com.young.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 消息表(Message)实体类
 *
 * @author bluceyoung
 * @since 2020-12-02 19:38:25
 */
public class Message implements Serializable {
    private static final long serialVersionUID = 866246915583804723L;
    
    private Long id;
    /**
    * 消息接收者
    */
    private Long receiveUser;
    /**
    * 消息内容
    */
    private String content;
    /**
    * 消息类型
    */
    private Integer type;
    /**
    * 消息产生时间
    */
    private Date createTime;
    /**
    * 消息触发者
    */
    private Long linkUser;
    /**
    * 是否已读，0未读，1已读
    */
    private Integer isRead;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getReceiveUser() {
        return receiveUser;
    }

    public void setReceiveUser(Long receiveUser) {
        this.receiveUser = receiveUser;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getLinkUser() {
        return linkUser;
    }

    public void setLinkUser(Long linkUser) {
        this.linkUser = linkUser;
    }

    public Integer getIsRead() {
        return isRead;
    }

    public void setIsRead(Integer isRead) {
        this.isRead = isRead;
    }

}